Spread Windows Forms 17
FarPoint.Excel Assembly / FarPoint.Excel Namespace / ExcelXMLHelpers Class / GetColorByCT_Color Method / GetColorByCT_Color(CT_Color,ArrayList,CT_RgbColor[]) Method
Object of the CT_Color
theme colors, get list from themes.xml
List of Rgb colors those indexed in Excel file


In This Topic
    GetColorByCT_Color(CT_Color,ArrayList,CT_RgbColor[]) Method
    In This Topic
    Gets the color by CT_Color type object.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetColorByCT_Color( _
       ByVal ctColor As CT_Color, _
       ByVal themeColors As ArrayList, _
       ByVal indexedRgbColors() As CT_RgbColor _
    ) As Color
    'Usage
     
    
    Dim ctColor As CT_Color
    Dim themeColors As ArrayList
    Dim indexedRgbColors() As CT_RgbColor
    Dim value As Color
     
    value = ExcelXMLHelpers.GetColorByCT_Color(ctColor, themeColors, indexedRgbColors)
    public static Color GetColorByCT_Color( 
       CT_Color ctColor,
       ArrayList themeColors,
       CT_RgbColor[] indexedRgbColors
    )

    Parameters

    ctColor
    Object of the CT_Color
    themeColors
    theme colors, get list from themes.xml
    indexedRgbColors
    List of Rgb colors those indexed in Excel file

    Return Value

    Color
    See Also